<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <title>收藏</title>
    <link rel="stylesheet" href="/static/src/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="/static/src/jquery-weui/css/jquery-weui.min.css">
    <script src="/static/src/jquery-weui/lib/jquery-2.1.4.js"></script>
    <script src="/static/src/jquery-weui/js/jquery-weui.min.js"></script>
</head>
<body>
<h1>我的收藏:</h1>
<div class="weui-grids">
    {% if items==[] %}
    <h1>还没有收藏图书</h1>
    {% endif %}
    {% for item in items %}
  <a href="" class="weui-grid js_grid">
    <div class="">
      <img src="{{item.img}}" alt="" width="100%">
    </div>
    <p class="weui-grid__label">
      <b>书名</b>:{{item.book_name}}
    </p>
      <p class="weui-grid__label">
      <b>作者</b>:{{item.author_name}}
    </p>
      {% endfor %}
  </a>

</div>
</body>
</html>